package com.qding.park.adapter.ark.adapter.config;

import com.baidu.disconf.client.common.annotations.DisconfFile;
import com.baidu.disconf.client.common.annotations.DisconfFileItem;
import com.baidu.disconf.client.common.annotations.DisconfItem;

/**
 * @ClassName BSGConfig
 * @Description TODO(博思高adapter 配置信息)
 * @author LeiYang
 * @Date 2017年5月10日 上午11:46:03
 * @version 1.0.0
 */
@DisconfFile(filename = "arkAdapter.properties")
public class ARKConfig {
    
    /**
     * @Field @adapterUrl : TODO(这里用一句话描述这个类的作用)
     */
    private static String  adapterUrl="";
    
    /**
     * @Field @adapterFtpIp : TODO(ftp ip)
     */
    private static String  adapterFtpIp="";
    
    /**
     * @Field @adapterFtpPort : TODO(ftp 端口)
     */
    private static int  adapterFtpPort=21;
    
    /**
     * @Field @adapterFtpUser : TODO(ftp 用户名)
     */
    private static String  adapterFtpUser="";
    
    /**
     * @Field @adapterFtpPw : TODO(ftp 密码)
     */
    private static String  adapterFtpPw="";
    
    /**
     * @Field @adapterFilepathInit : TODO(ftp  初始数据文件路径)
     */
    private static String adapterFilepathInit="";
    
    /**
     * @Field @adapterFilepathDay : TODO(ftp 每日增量 文件路径)
     */
    private static String adapterFilepathDay="";
    
    
    @DisconfFileItem(name = "adapter.http.url", associateField = "adapterUrl")
    public static String getAdapterUrl() {
        return adapterUrl;
    }

    
    public static void setAdapterUrl(String adapterUrl) {
        ARKConfig.adapterUrl = adapterUrl;
    }


    @DisconfFileItem(name = "adapter.ftp.ip", associateField = "adapterFtpIp")
    public static String getAdapterFtpIp() {
        return adapterFtpIp;
    }


    
    public static void setAdapterFtpIp(String adapterFtpIp) {
        ARKConfig.adapterFtpIp = adapterFtpIp;
    }


    @DisconfFileItem(name = "adapter.ftp.port", associateField = "adapterFtpPort")
    public static int getAdapterFtpPort() {
        return adapterFtpPort;
    }


    
    public static void setAdapterFtpPort(int adapterFtpPort) {
        ARKConfig.adapterFtpPort = adapterFtpPort;
    }


    @DisconfFileItem(name = "adapter.ftp.user", associateField = "adapterFtpUser")
    public static String getAdapterFtpUser() {
        return adapterFtpUser;
    }


    
    public static void setAdapterFtpUser(String adapterFtpUser) {
        ARKConfig.adapterFtpUser = adapterFtpUser;
    }


    @DisconfFileItem(name = "adapter.ftp.pw", associateField = "adapterFtpPw")
    public static String getAdapterFtpPw() {
        return adapterFtpPw;
    }


    
    public static void setAdapterFtpPw(String adapterFtpPw) {
        ARKConfig.adapterFtpPw = adapterFtpPw;
    }


    @DisconfFileItem(name = "adapter.filepath.init", associateField = "adapterFilepathInit")
    public static String getAdapterFilepathInit() {
        return adapterFilepathInit;
    }


    
    public static void setAdapterFilepathInit(String adapterFilepathInit) {
        ARKConfig.adapterFilepathInit = adapterFilepathInit;
    }


    @DisconfFileItem(name = "adapter.filepath.day", associateField = "adapterFilepathDay")
    public static String getAdapterFilepathDay() {
        return adapterFilepathDay;
    }


    
    public static void setAdapterFilepathDay(String adapterFilepathDay) {
        ARKConfig.adapterFilepathDay = adapterFilepathDay;
    }
    
    

}
